package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-15
 */
@TableName("equ_coolingvest")
@Data
public class Coolingvest extends Model<Coolingvest> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;
    /**
     * 装备名称
     */
    private String vestname;
    /**
     * 所属单位
     */
    private Integer deptid;
    /**
     * 所属车辆
     */
    private String subvechile;

    /**
     * 生产企业
     */
    private String manufacturer;
    /**
     * 供应商
     */
    private String supplier;
    /**
     * 产地
     */
    private String origin;
    /**
     * 配置
     */
    private String configuration;
    /**
     * 生命周期
     */
    private String lifecycle;
    /**
     * 装备状态
     */
    private String equstate;
    /**
     * rfid编号
     */
    private String rfidtoken;

    /**
     *装备类型
     */
    private String devicetype;



    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Coolingvest{" +
        "id=" + id +
        ", vestname=" + vestname +
        ", deptid=" + deptid +
        ", subvechile=" + subvechile +
        ", manufacturer=" + manufacturer +
        ", supplier=" + supplier +
        ", origin=" + origin +
        ", configuration=" + configuration +
        ", lifecycle=" + lifecycle +
        ", equstate=" + equstate +
        ", rfidtoken=" + rfidtoken +
                ", devicetype=" + devicetype +
        "}";
    }
}
